package com.koron.standard.deparment.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author qingfeng
 * @description: TODO
 * @date 2021/3/23 10:29
 */
@Data
public class Department {

    private Integer id;

    private String deptCode;

    private String deptName;

    private String creator;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private Integer order;

    private String updateStaff;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String parentId;

    private List<Department> children;

}
